Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / RemoveAsync Method / RemoveAsync<T>(IDataCollection<T>,Int32) Method
The data collection.
The index of the item that will be removed.

In This Topic
    RemoveAsync<T>(IDataCollection<T>,Int32) Method
    In This Topic
    Removes the item at the specified index from the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function RemoveAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal index As Integer _
    ) As Task
    public static Task RemoveAsync<T>( 
       IDataCollection<T> dataCollection,
       int index
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    index
    The index of the item that will be removed.

    Type Parameters

    T
    See Also